package com.bzframework.bookkeeping.manager;

import cn.hutool.core.util.RandomUtil;
import org.springframework.stereotype.Component;

/**
 * @Author bingzhong
 * @Date 2025/11/2
 */
@Component
public class SimpleRoomCodeGenerator implements RoomCodeGenerator {

    @Override
    public String getType() {
        return "simple";
    }

    @Override
    public String generateRoomCode() {
        return RandomUtil.randomNumbers(10);
    }

}
